package com.czmh.etc.onlinepubsys.services.mingchuang;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.czmh.etc.onlinepubsys.entity.mingchuang.CurrentContext;

import java.util.List;

public interface ICurrentContextService {
    void save(CurrentContext entity);

    //查找上海久誉订单
    List<CurrentContext> queryObjects(QueryWrapper<CurrentContext> queryWrapper);

    void update(CurrentContext entity);

    CurrentContext getByUserId(String userId);

    CurrentContext getByUserId(String userId, Integer payMode);

    CurrentContext getByOrderNo(String orderNo);

    CurrentContext queryByOrderNo(String orderNo);

    CurrentContext getByOrderNo(String orderNo, Integer payMode);

    void delete(String id);

    void deleteInvalidContext();
}
